package dms;

/**
 * @file Part.java
 * @version 0.1
 * @author Chris Sewell 10008342
 */
public abstract class Part extends Item{
    // <editor-fold defaultstate="collapsed" desc="Attributes">

    private String partType;
    private Car compatibility;
    
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public Part(int givenID, String givenManufacturer, String givenDescription, String givenManufacturerPartNo) {
        super(givenID, givenManufacturer, givenDescription, givenManufacturerPartNo);
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Methods">
    /**
     * Get the value of partType
     *
     * @return the value of partType
     */
    public String getPartType() {
        return partType;
    }

    /**
     * Set the value of partType
     *
     * @param partType new value of partType
     */
    public void setPartType(String partType) {
        this.partType = partType;
    }
    // </editor-fold>
}